package fr.mywiki.view.web.struts.form;

public class AccountLogForm extends ErrorMessageForm {
	private static final long serialVersionUID = 1L;

	/** The login of the member */
	private String login;
	
	/** The password of the member */
	private String password;

	/**
	 * Initializes the formular, considering the name of the member is given in parameter.
	 */
	public void reset() {
		setLogin(new String());
		setPassword(new String());
	}

	public String getLogin() {
		return login;
	}
	
	public void setLogin(String memberName) {
		this.login = memberName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getErrorAttributeName() {
		return "LogErrorMessage";
	}
}
